﻿using FixMath.NET;
using System.Collections.Generic;
using System.Linq;
using TEngine;
using UnityEngine;

namespace GameLogic
{
    [Update]
    public class SolarSystemModule : BehaviourSingleton<SolarSystemModule>
    {
        public List<StarSphere> StarSpheres { get { return m_StarSpheres; } }
        List<StarSphere> m_StarSpheres;
        GameObject m_SolarSystemObj;
        public void Init()
        {
            m_SolarSystemObj = PoolManager.Instance.GetGameObject("Assets/AssetRaw/Scenes/Stars.prefab");
            m_StarSpheres = m_SolarSystemObj.GetComponentsInChildren<StarSphere>().ToList();
        }
        public override void Update()
        {

        }
    }
}
